package cn.lanqiao.ui;

import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.border.SoftBevelBorder;
import javax.swing.border.BevelBorder;

public class ServiceItemJDialog extends JDialog {
	public ServiceItemJDialog() {
		setBounds(100, 100, 450, 358);
		getContentPane().setLayout(null);
		{
			JPanel panel = new JPanel();
			panel.setBorder(new SoftBevelBorder(BevelBorder.LOWERED, null, null, null, null));
			panel.setBounds(14, 13, 404, 227);
			getContentPane().add(panel);
			panel.setLayout(null);
			{
				JLabel lblNewLabel = new JLabel("注意事项");
				lblNewLabel.setBounds(14, 13, 72, 18);
				panel.add(lblNewLabel);
			}
			{
				JLabel lblNewLabel_1 = new JLabel("本软件仅供娱乐,不要用于商业\r\n");
				lblNewLabel_1.setBounds(74, 44, 252, 30);
				panel.add(lblNewLabel_1);
			}
			{
				JLabel lblNewLabel_2 = new JLabel("使用本软件,请自觉遵守国家相");
				lblNewLabel_2.setBounds(74, 95, 252, 18);
				panel.add(lblNewLabel_2);
			}
			{
				JLabel lblNewLabel_3 = new JLabel("关法律法规");
				lblNewLabel_3.setBounds(74, 138, 252, 18);
				panel.add(lblNewLabel_3);
			}
		}
		{
			JPanel panel = new JPanel();
			panel.setBorder(new SoftBevelBorder(BevelBorder.LOWERED, null, null, null, null));
			panel.setBounds(14, 253, 404, 45);
			getContentPane().add(panel);
			panel.setLayout(null);
			{
				JButton btnNewButton = new JButton("确认");
				btnNewButton.setBounds(277, 13, 113, 27);
				btnNewButton.addActionListener(new ActionListener() {
					@Override
					public void actionPerformed(ActionEvent e) {
						ServiceItemJDialog.this.setVisible(false);
					}
				});
				panel.add(btnNewButton);
			}
		}
	}

}
